package com.jimo.model;

import com.jimo.security.MyException;

public class RetBean {
    private String msg;
    private int code;

    public RetBean(MyException e) {
        this.msg = e.getMsg();
        this.code = e.getCode();
    }

    public RetBean(String msg, int code) {
        this.msg = msg;
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

}
